import request from '@/utils/request'
// 工单列表的
export const List = (taskId) => {
  return request.get(`/api/task-service/task/taskInfo/${taskId}`)
}
// 渲染biaoge
export const xuanlist = (params) => {
  return request.get('/api/task-service/task/search', { params })
}
// 选择的
export const chose = () => {
  return request.get('/api/task-service/task/allTaskStatus')
}
// 搜索框触发
export const xuanlisttwo = (params) => {
  return request.get('/api/task-service/task/search', { params })
}
// 预警值数量
export const alertValue = (data) => {
  return request.post('/api/task-service/task/autoSupplyConfig', {
    data: {
      data
    }
  })
}
// 点击的预警值
export const Value = (data) => {
  return request.get('/api/task-service/task/supplyAlertValue', data

  )
}
